@import url('@/assets/icon/2d/iconfont.css');
@import url('@/assets/icon/sgcc/iconfont.css');
@import url('@/assets/icon/ltdx/iconfont.css');
@import url('@/assets/icon/ticon/iconfont.css');

:root {
    --font-family: '-apple-system', 'BlinkMacSystemFont', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei UI', ' Microsoft YaHei',
    'Source Han Sans CN', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';
    --font-size: 13px;
    --color: #fff;
    --color-border: #000000;
    --back-ground: #141414;
    --primary: #1890ff;

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

.l-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

.icon {
    margin: 0;
    font-size: 18px;
    color: #fff;
    transform: scale(1.5);
}

.CustomMouse {
    position: fixed;
    width: 20px;
    height: 20px;
    margin-left: -10px;
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    font-size: var(--font-size);
    font-family: var(--font-family);
    overflow: hidden;
    color: var(--color);
}

input {
    font-size: var(--font-size);
}

img {
    max-width: 100%;
    max-height: 100%;
}

#root {
    min-height: 100%;
}

.title,
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 2;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 16px;
}

.small {
    font-size: 10px;
}


.color {
    color: var(--color);
}


.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
}

a {

    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.hover {
    text-decoration: none;
}


.visible {
    visibility: visible;
}

.hidden {
    visibility: hidden;
}

.flex {
    display: flex;

    &.column {
        flex-direction: column;
    }

    &.middle {
        align-items: center;
    }

    &.center {
        justify-content: center;
    }

    &.between {
        justify-content: space-between;
    }

    .shrink-0 {
        flex-shrink: 0;
    }
}

.flex-grow {
    flex: 1;
}

.grid {
    display: grid;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.propsLabelLineHeight {
    line-height: 25px;
}

.w-full {
    width: 100%;
}

.ml-4 {
    margin-left: 4px;
}

.mr-4 {
    margin-right: 4px;
}

.mr-8 {
    margin-right: 8px;
}

.ml-8 {
    margin-left: 8px;
}

.-ml-8 {
    margin-left: -8px;
}

.mb-8 {
    margin-bottom: 8px;
}

.ml-12 {
    margin-left: 12px;
}

.ml-16 {
    margin-left: 16px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mr-12 {
    margin-right: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mr-16 {
    margin-right: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}

.px-4 {
    padding-left: 4px;
    padding-right: 4px;
}

.py-4 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.pl-8 {
    padding-left: 8px;
}

.px-8 {
    padding-left: 8px;
    padding-right: 8px;
}

.py-8 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.px-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.p-12 {
    padding: 12px;
}

.pb-16 {
    padding-bottom: 16px;
}

.px-16 {
    padding-left: 16px;
    padding-right: 16px;
}

.py-16 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.px-16 {
    padding-left: 16px;
    padding-right: 16px;
}

.p-16 {
    padding: 16px;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar {
    width: 3px;
    background: transparent;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

/*滚动条里面小方块*/
::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-track {
    background-color: transparent !important;
}
